<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title></title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
	<link rel="stylesheet" type="text/css" href="css/styles.css">
	<script type="text/javascript" src="js/jquery.js"></script>
	<script type="text/javascript" src="js/fileDownLoad.js"></script>
	<script type="text/javascript" src="js/radiocheck.js"></script>
  </head>
  
  <body>
	<fieldset>
		<form action="zhuChiPostResultAction.action" name="statisForm" method="post">
		    <legend>    
				审批完成的稿件列表    
			</legend>
			<table style="width: 600px; margin-top: 15px;">
				<tr>
					<th>
						中文名称
					</th>
					<th>
						英文名称
					</th>
					<th>
						用户姓名
					</th>
					<th>
						学院
					</th>
					<th>
						分类
					</th>
					<th>
						审批状态
					</th>
					<th>
						稿件下载
					</th>
					<th>
						得分
					</th>
					<th>
						通过|不通过
					</th>
				</tr>
				<c:choose>
					<c:when test="${empty articleList}">
						<tr>
							<td colspan="8">
								目前没有稿件
							</td>
						</tr>
					</c:when>
					<c:otherwise>
						<c:forEach items="${articleList}" var="articleInfo" >
							<tr onmouseover="this.className='mouseOver'" onmouseout="this.className='mouseOut'">
								<td>${articleInfo.chinaName}</td>
								<td>${articleInfo.englishName}</td>
								<td>${articleInfo.userInfo.userName}</td>
								<td>${articleInfo.college}</td>
								<td>${articleInfo.categoryInfo.name}</td>
								<td>${articleInfo.fpState}</td>
								<td><a href="javascript:void(0);" onclick="fileDownLoad('${articleInfo.filePath}')">下载</a></td>
								<td>${articleInfo.score}</td>
								<td><input type="radio" name="${articleInfo.AId}" value="${articleInfo.AId};3" checked="checked">|<input type="radio" name="${articleInfo.AId}" value="${articleInfo.AId};2"></td>
							</tr>
						</c:forEach>
					</c:otherwise>
				</c:choose>
			</table>
			<hr>
			<input type="hidden" name="radioArray" id="radioArray" value="">
			<input type="hidden" name="taskId" value="${taskId}">
			<input type="button" value="提交 " onclick="getAllRadio()" style="height:20px;margin-left:50px;"/>
			<input type="reset" value="重置" style="height:20px;margin-left:20px;"/>
			</form>
	<form action="fileDownloadAction.action" method="post" name="fileDownLoadForm">
	<input type="hidden" name="filePath" id="filePath">
	</form>
	</fieldset>
  </body>
</html>
